package com.gxar.timeline.server.db.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 头显产品
 *
 * @author linsy
 * @version 1.0
 * @created 2023/9/21 17:30
 */
@Entity
@Getter
@Setter
@NoArgsConstructor
@Table(name = "hmd_product")
public class HmdProductEntity {

    /**
     * 产品id
     */
    @Id
    private Long id;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 产品名称
     */
    private String name;

    /**
     * 发布日期
     */
    private Date issuanceDate;

    /**
     * 上市日期
     */
    private Date listedDate;

    /**
     * 创建时间
     */
    @Column(nullable = false)
    private Date createdAt;

}
